"""
@filename: __init__.py
@project: flask_project
@author: wlf
@time: 2022-09-04
"""
from .userapi import user_bp
from .schoolapi import school_bp
from .registerapi import register_bp
from .adminapi import admin_bp
from .postsapi import posts_bp
from .commentapi import comments_bp


def init_app(app):
    app.register_blueprint(user_bp)
    app.register_blueprint(school_bp)
    app.register_blueprint(admin_bp)
    app.register_blueprint(register_bp)
    app.register_blueprint(posts_bp)
    app.register_blueprint(comments_bp)
